package com.example.myapplication;
public class Video {



    private String avter;
    private String url;
    private String userName;
    private int likeCount;
    private int commentCount;

    private boolean isLiked;  // 跟踪视频是否被喜欢

    // Getter 和 Setter 方法
    public boolean isLiked() {
        return isLiked;
    }

    public void setLiked(boolean liked) {
    isLiked = liked;
    }
    public String getAvter() {
        return avter;
    }

    public void setAvter(String head) {
        this.avter = avter;
    }

    // Getters and Setters
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }
}
